projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c97c1
)
Reverse last change.
author
Chong Yidong
<cyd@stupidchicken.com>
Mon, 27 Oct 2008 05:32:22 +0000
(
05:32
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Mon, 27 Oct 2008 05:32:22 +0000
(
05:32
+0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index d2b62b1ffe0b0402aac9b7f3c97fe36c51a865ec..e607c3a3cab6336abe796be40e31bdbd1917089b 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-12687,7
+12687,8
@@
try_scrolling (window, just_this_one_p, scroll_conservatively,
window, or below. Compute the distance from the scroll
margin to PT, and give up if the distance is greater than
scroll_max. */
- move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
+ move_it_to (&it, PT, -1, it.last_visible_y - 1, -1,
+ MOVE_TO_POS | MOVE_TO_Y);
/* To make point visible, we must move the window start down
so that the cursor line is visible, which means we have